import {
    Loading
  } from 'element-ui'
  let loading
  const pakgetLoading = {
    startLoading: function () {
      loading = Loading.service({
        lock: true,
        text: '加载中......',
        background: 'rgb(255,255,255,0.5)'
      })
    },
    endLoading: function () {
      loading.close()
    }
  }
  export default pakgetLoading
  